﻿<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <title>某某家具设计公司企业官网-模板之家</title>
    ﻿<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="format-detection" content="telephone=no">
<meta name="renderer" content="webkit">
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no">
<meta http-equiv="Cache-Control" content="no-siteapp" />
<link rel="alternate icon" type="image/png" href="images/favicon.png">
<link rel='icon' href='favicon.ico' type='image/x-ico' />
<meta name="description" content="" />
<meta name="keywords" content="" />
<link rel="stylesheet" href="css/default.min.css?t=227" />
<!--[if (gte IE 9)|!(IE)]><!-->
<script type="text/javascript" src="lib/jquery/jquery.min.js"></script>
<!--<![endif]-->
<!--[if lte IE 8 ]>
<script src="http://libs.baidu.com/jquery/1.11.3/jquery.min.js"></script>
<script src="http://cdn.staticfile.org/modernizr/2.8.3/modernizr.js"></script>
<script src="lib/amazeui/amazeui.ie8polyfill.min.js"></script>
<![endif]-->
<script type="text/javascript" src="lib/handlebars/handlebars.min.js"></script>
<script type="text/javascript" src="lib/iscroll/iscroll-probe.js"></script>
<script type="text/javascript" src="lib/amazeui/amazeui.min.js"></script>
<script type="text/javascript" src="lib/raty/jquery.raty.js"></script>
<script type="text/javascript" src="js/main.min.js?t=1"></script>
</head>
<body>
<jsp:include page="header.jsp"></jsp:include>

<section class="index-section">
    <div>
        <span></span>
        <span></span>
    </div>
    <div class="index-content">
        <section class="index-content-section-first"><div><img src="${company.companyImg }" alt=""></div> </section>
        <section class="index-content-section-second">
            <div>
                <div class="index-auto">
            <article>公司介绍</article>
            <h6>COMPANY INTRODUCTION</h6>
            <main>${company.companyIntr }</main>
            <a class="index-button" href="companyServlet?reqName=companySelect">查看详情</a>
                </div>
            </div>
        </section>
    </div>
</section>

<section class="index-product">
    <%-- <main>
        <ul>
        
            <li class="index-active"><a href="bannerServlet?reqName=bannerSelect&pid=1"></a></li>
            <li><a href="bannerServlet?reqName=bannerSelect&pid=2"></a></li>
            <li><a href="bannerServlet?reqName=bannerSelect&pid=3"></a></li>
            <li><a href="bannerServlet?reqName=bannerSelect&pid=4"></a></li>
        </ul>
    </main>--%>
    <main></main>
    <main></main>
</section>
<div class="copyrights">Collect from <a href="http://www.cssmoban.com/" >网页模板</a></div>
<section class="index-margin-bottom">
    <div class="index-morecase">
        <span></span>
        <a href="ProductServlet?reqName=productSelect&id=0&pageNo=1">MORE &#62; &#62;</a>
    </div>
    <div class="index-content">
        <div class="product-list">
        <c:choose>
        <c:when test="${empty product }"></c:when>
        <c:otherwise>
            <c:forEach items="${product }" var="u">
            <div class="am-u-sm-6 am-u-md-6 am-u-lg-4">
                <a href="ProductServlet?reqName=productdetails&id=${u.id }&classId=${u.classId}">
                    <img src="${u.picture }" />
                </a>
            </div>
            </c:forEach>
        </c:otherwise>
        </c:choose>
        
        
        </div>
    </div>
</section>


<section class="index-margin-bottom">
    <div class="index-morecase">
        <span></span>
        <a href="NewsServlet?reqName=newsSelect&id=0&pageNo=1">MORE &#62; &#62;</a>
    </div>
    <div class="index-content">


        <div class="new-index">
            
            <ul style="width:100%">
            <c:choose>
                <c:when test="${empty news }"></c:when>
                <c:otherwise>
                    <c:forEach items="${news }" var="u">
                        <li style="height:200px; overflow:hidden;float:left;width:30%">
                            <a href="NewsServlet?reqName=newsDetailsSelect&id=${u.id }">
                            <h3>${u.headline }</h3>
                            <article>${u.content }
                        </article>
                </a></li>
                    </c:forEach>
                </c:otherwise>
            </c:choose>
            </ul>

        </div>
    </div>
</section>
﻿<jsp:include page="footer.jsp"></jsp:include>
</body>
</html>